package cn.sciento.boot.data.change.dto;

import java.util.List;
import java.util.Map;
import org.apache.ibatis.mapping.SqlCommandType;

public class ChangeData {
  private List<String> changedAttributeList;
  
  private Map<String, Object> beforeEntityMap;
  
  private Map<String, Object> afterEntityMap;
  
  private String tableName;
  
  private SqlCommandType action;
  
  private String keyField;
  
  private Object keyFieldValue;
  
  private Class<?> entityClass;
  
  private Boolean tlFlag;
  
  public List<String> getChangedAttributeList() {
    return this.changedAttributeList;
  }
  
  public void setChangedAttributeList(List<String> changedAttributeList) {
    this.changedAttributeList = changedAttributeList;
  }
  
  public Map<String, Object> getBeforeEntityMap() {
    return this.beforeEntityMap;
  }
  
  public void setBeforeEntityMap(Map<String, Object> beforeEntityMap) {
    this.beforeEntityMap = beforeEntityMap;
  }
  
  public Map<String, Object> getAfterEntityMap() {
    return this.afterEntityMap;
  }
  
  public void setAfterEntityMap(Map<String, Object> afterEntityMap) {
    this.afterEntityMap = afterEntityMap;
  }
  
  public String getTableName() {
    return this.tableName;
  }
  
  public void setTableName(String tableName) {
    this.tableName = tableName;
  }
  
  public Boolean getTlFlag() {
    return this.tlFlag;
  }
  
  public void setTlFlag(Boolean tlFlag) {
    this.tlFlag = tlFlag;
  }
  
  public SqlCommandType getAction() {
    return this.action;
  }
  
  public void setAction(SqlCommandType action) {
    this.action = action;
  }
  
  public Class<?> getEntityClass() {
    return this.entityClass;
  }
  
  public void setEntityClass(Class<?> entityClass) {
    this.entityClass = entityClass;
  }
  
  public String getKeyField() {
    return this.keyField;
  }
  
  public void setKeyField(String keyField) {
    this.keyField = keyField;
  }
  
  public Object getKeyFieldValue() {
    return this.keyFieldValue;
  }
  
  public void setKeyFieldValue(Object keyFieldValue) {
    this.keyFieldValue = keyFieldValue;
  }
}
